home *** CD-ROM | disk | FTP | other *** search
/ Micromanía: 150 Juegos 2010 / 150Juegos_16.iso / Shareware / Shape Smash / shape-smash.swf / scripts / _richTextEditorTextAreaStyleStyle.as < prev    next >
Encoding:
Text File  |  2010-05-14  |  905 b   |  34 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _richTextEditorTextAreaStyleStyle
  8.    {
  9.       public function _richTextEditorTextAreaStyleStyle()
  10.       {
  11.          super();
  12.       }
  13.       
  14.       public static function init(param1:IFlexModuleFactory) : void
  15.       {
  16.          var style:CSSStyleDeclaration = null;
  17.          var fbs:IFlexModuleFactory = param1;
  18.          style = StyleManager.getStyleDeclaration(".richTextEditorTextAreaStyle");
  19.          if(!style)
  20.          {
  21.             style = new CSSStyleDeclaration();
  22.             StyleManager.setStyleDeclaration(".richTextEditorTextAreaStyle",style,false);
  23.          }
  24.          if(style.defaultFactory == null)
  25.          {
  26.             style.defaultFactory = function():void
  27.             {
  28.             };
  29.          }
  30.       }
  31.    }
  32. }
  33.  
  34.